package cn.xuewei.mapper;

import cn.xuewei.pojo.entity.Banner;
import cn.xuewei.pojo.vo.BannerAdminVO;
import cn.xuewei.pojo.vo.BannerVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface BannerMapper {
    List<BannerVO> select();

   List<BannerAdminVO> selectForAdmin();


    void insertBanner(Banner banner);

    void deleteById(int id);
}
